<?php
/**
* markcategory.php
*
* Create on 2016-9-6
* Create by TT
*/
namespace haibao\user\model\data;

/**
 * 收藏图片分类
 */
class MarkCategory extends Base{
	/*
	 * 用户最大分类数
	 */
	const USER_MAX_CATEGORY = 10;
	/**
	 * 默认分类
	 */
	const DEFAULT_CATEGORY_ID = 0;

	const DELETABLE_YES = 1;
	const DELETABLE_NO = 0;
	/*
	 * 用户ID
	*/
	public $UserId;

	/*
	 * 分类名称
	*/
	public $CategoryName;
	
	
	/*
	 * 是否可删除
	*/
	public $Deletable;

	public function __construct(){
		parent::__construct();
		$this->intField('UserId', 'UserId', true);
		$this->intField('CategoryName', 'CategoryName', true);
		$this->intField('Deletable', 'Deletable');

		$this->setTableName('MarkCategory');
	}
}